package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Petknowledge;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author: wxk
 * @Email: 2089967794@qq.com
 * @Date: 2024/10/15 下午4:54 周二
 * @Description: 宣传栏接口
 */
public interface PetknowledgeService {
    //id查询
    Petknowledge select(int id);
    //admin_id查询
    List<Petknowledge> selectadmin_id(int admin_id);
    //查询所有
    List<Petknowledge> findAll();
    //添加
   int add(Petknowledge petknowledge);
    //删除
     int delete(int id);
    //修改数据
      int update(Petknowledge petknowledge);
}
